<div class="artcle_tool">
    <div class="tool">
        <h1>热点</h1>
        <h3>{$hots[0]['title']|strip_tags|mysubstr:20:true}</h3>
        <p>	{$hots[0]['content']|strip_tags|mysubstr:300:true}</p>
    </div>
    <div class="tool">
        <ul  class="hot">
            {foreach from=$hots item=hot}
            <li><a href="{$smarty.const.WEB_PATH}index.php?m=content&c=index&a=show&category={$hot['typeid']}&aid={$hot['id']}">{$hot['title']|strip_tags|truncate:30:"...":true}</a></li>
            {/foreach}
        </ul>
    </div>
    <div class="search_tool">
        <form action="http://www.myblog.com/search.php " method="get">
           <!-- <input type="text" name="searchkey" class="search" x-webkit-speech="" x-webkit-grammar="builtin:search"><input type="submit" value="搜索" class="button">-->
        </form>
    </div>
    <div class="clrear"></div>
    <div class="tag">
        <div class="tag">
            <h1>热门标签</h1>
            <ul>
                {foreach from=$tags item=tag}
                <li><a href="{$smarty.const.WEB_PATH}index.php?m=content&c=index&a=show&category={$tag['typeid']}&aid={$tag['id']}">{$tag['tag']}</a></li>
                {/foreach}
            </ul>
        </div>
    <div class="social">
        <h1>关注我们</h1>
        <div>
            <a href="" class="weibo"></a>
            <a href="" class="qq"></a>
            <a href="" class="weixin"></a>
            <a href="" class="google"></a>
            <a href="" class="twrite"></a>
            <a href="" class="facebook"></a>
            <a href="" class="youtube"></a>
        </div>
    </div>
</div>